package fun.hijklmn.magic.swagger.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description
 * @Author fs
 * @Date 2021/5/6 11:26
 * @Version 0.0.1-SNAPSHOT
 **/
@Data
@Component
@ConditionalOnProperty("magic.swagger.basePackage")
@ConfigurationProperties(prefix = "magic.swagger")
public class MagicSwaggerProperties {

    private String basePackage;

    private String title;

    private String version;

    private String desc;

    private List<String> headers;

    private List<String> cookies;

}
